import ScaleTransitionRouteBuilder from './scale-route'
import HalfScreenDialogRouteBuilder from './half-route'

export function installRouteBuilder() {  
  wx.router.addRouteBuilder('ScaleTransition', ScaleTransitionRouteBuilder)
  wx.router.addRouteBuilder('HalfScreenDialog', HalfScreenDialogRouteBuilder)

  console.info('skyline: installRouteBuilder')
}

export const CustomRouteType = {
  ScaleTransition: 'ScaleTransition',
  HalfScreenDialog: 'HalfScreenDialog',
}